package com.open.capacity.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: y_022
 * @date: 16:44-2021/6/25
 * @description:用户订单列表查询数据实体-->订单和工位结合,去掉一些字段生成
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("订单查询实体")
public class OrderAndStation implements  Serializable{
    private Long ordeid;
    @ApiModelProperty(value = "订单号")
    private String orcode;//订单号
    @ApiModelProperty(value = "订单状态，0为支付，1已支付，2无效订单")
    private Integer enable;//	订单状态，0未支付，1已支付，2无效订单
    @ApiModelProperty(value = "订单内工位id")
    private Long statid;//	工位产品id
    @ApiModelProperty(value = "下订单的用户id")
    private Long userid;//	用户id，本订单下单的用户
    @ApiModelProperty(value = "拥有此工位的商家id")
    private Long busiid;//	拥有此工位的商家id
    @ApiModelProperty(value = "订单创建时间")
    private Date crdate;//	订单创建时间
    @ApiModelProperty(value = "订单最新修改时间")
    private Date update;//订单最新修改时间
    @ApiModelProperty(value = "订单备注")
    private String remark;//订单备注
    @ApiModelProperty(value = "订单总价：单价*租赁时长*折扣")
    private Float prices;//	订单总价：单价*letime
    @ApiModelProperty(value = "租赁时长")
    private Integer letime;//	租赁时长
    @ApiModelProperty(value = "工位单价")
    private Float unitpr;//	工位单价
    @ApiModelProperty(value = "工位名称")
    private String stname;//	工位名称
    @ApiModelProperty(value = "地址ID")
    private Integer addrid;//	地址ID
    @ApiModelProperty(value = "工位场地内容介绍")
    private String conten;//工位场地内容介绍
    @ApiModelProperty(value = "封面图片")
    private String topimg;//	封面图片
    @ApiModelProperty(value = "工位类型:1工位、2会议厅、3路演厅")
    private String sttype;//	工位类型:1工位、2会议厅、3路演厅
    @ApiModelProperty(value = "修改后的字段注释")
    private String recomm;//	修改后的字段注释
    @ApiModelProperty(value = "详细地址")
    private String addres;//    详细地址
    @ApiModelProperty(value = "场地面积")
    private Integer starea;//	场地面积
    @ApiModelProperty(value = "活动折扣")
    private Float reduce;//活动折扣
    @ApiModelProperty(value = "活动id")
    private Long actiid;//活动id
    private Date create;
    private  String status;
    private String introd;
    private String[] time;
    private Integer pagees;
    private Integer limits;
    private  String userna;
    private String sthref;
    private String examin;
    public OrderAndStation(Long ordeid, String orcode, Integer enable, Long statid, Long userid, Long busiid, Date crdate, Date update, String remark, Float prices, Integer letime, Float unitpr, Float reduce) {
        this.ordeid = ordeid;
        this.orcode = orcode;
        this.enable = enable;
        this.statid = statid;
        this.userid = userid;
        this.busiid = busiid;
        this.crdate = crdate;
        this.update = update;
        this.remark = remark;
        this.prices = prices;
        this.letime = letime;
        this.unitpr = unitpr;
        this.reduce = reduce;
    }


}
